{{- $mainStyle := resources.Get "css/main.css" -}}
{{- $configStyle := resources.Get "css/config.template.css" | resources.ExecuteAsTemplate "config.css" . -}}
{{- $customStyle := resources.Get "css/custom.css" -}}
{{- $style := slice $mainStyle $configStyle $customStyle | resources.Concat "css/bundle.css" | resources.Minify | resources.Fingerprint -}}
<link rel=stylesheet href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}" crossorigin="anonymous">
{{- $mainScript := resources.Get "js/main.js" }}
{{- $customScript := resources.Get "js/custom.js" -}}
{{- $script := slice $mainScript $customScript | resources.Concat "js/bundle.js" | resources.Minify | resources.Fingerprint -}}
<script src="{{ $script.Permalink }}" integrity="{{ $script.Data.Integrity }}" crossorigin="anonymous"></script>
{{- partial "head/math" . -}}
